package com.middlegroup.payadmin.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.middlegroup.payadmin.mapper.ChannelBankRouterMapper;
import com.middlegroup.payadmin.pojo.po.ChannelBankRouter;
import com.middlegroup.payadmin.service.ChannelBankRouterService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 银行渠道路由映射表 服务实现类
 * </p>
 *
 * @author pc123
 * @since 2019-01-04
 */
@Service
public class ChannelBankRouterServiceImpl extends ServiceImpl<ChannelBankRouterMapper, ChannelBankRouter> implements ChannelBankRouterService {

    @Resource
    private ChannelBankRouterMapper channelBankRouterMapper;

    @Override
    public int saveOrUpdate(ChannelBankRouter channelBankRouter) {
        return channelBankRouterMapper.saveOrUpdate(channelBankRouter);
    }
}
